package org.catspaw.cherubim.persistence.repository;

public interface RepositoryBuilder {

	/**
	 * 根据接口生成Repository实例
	 * @param interfaceClass
	 * @return repository实例
	 * @throws BuildRepositoryException
	 */
	<T extends Repository> T buildRepository(Class<T> interfaceClass)
			throws BuildRepositoryException;
}
